package com.awifi.dbus.model;

import java.math.BigDecimal;
import java.util.Date;

/**
* 设备实体+虚拟设备信息DTO
*Title: DevInfoDTO.java
*Description: 接入系统平台类文件
*Copyright: 中国电信爱WiFI运营中心
*Company: 中国电信爱WiFI运营中心
*@author sucb
*@date 2017年6月7日下午5:12:03
*/
public class DevInfoDTO {

    /**
     *  entity表主键
     */
    private String id;

    /**
     *  父设备编号
     */
    private String parId;

    /**
     * 批次号
     */
    private String batchNum;

    /**
     * 设备类型
     */
    private Integer entityType;

    /**
     * 实体设备名称
     */
    private String entityName;

    /**
     * 外部平台编号
     */
    private String outTypeId;

    /**
     *  设备外部编号
     */
    private String entityOutId;

    /**
     * 热点编号
     */
    private String hotareaId;

    /**
     * AC池编号
     */
    private String acpoolId;

    /**
     * 厂家编号
     */
    private String corporation;

    /**
     * 厂家名称
     */
    private String corporationText;

    /**
     * 型号
     */
    private String model;

    /**
     * 型号名称
     */
    private String modelText;

    /**
     * 固件版本号
     */
    private String fwVersion;

    /**
     * 组件版本号
     */
    private String cpVersion;

    /**
     * PING码
     */
    private String pinCode;

    /**
     * 设备地址
     */
    private String ipAddr;

    /**
     * 端口
     */
    private String port;

    /**
     * 最大带宽
     */
    private String maxBw;

    /**
     * 交换容量
     */
    private String maxCapc;

    /**
     * 最大连接数量
     */
    private String maxDevconn;

    /**
     * 最大STA终端连接数量
     */
    private String maxStaconn;

    /**
     * 设备物理地址
     */
    private String macAddr;

    /**
     * 省编号
     */
    private Integer province;

    /**
     * 市编号
     */
    private Integer city;

    /**
     * 区编号
     */
    private Integer county;

    /**
     * 街道
     */
    private String district;

    /**
     * 经度
     */
    private BigDecimal xpos;

    /**
     *  纬度
     */
    private BigDecimal ypos;

    /**
     * 安装详细地址
     */
    private String fixAddr;

    /**
     * 设备属性
     */
    private String entityAddrType;

    /**
     * 覆盖范围
     */
    private String coverage;

    /**
     * 是否需要采集
     */
    private Integer isCollected;

    /**
     * 采集SNMP协议版本
     */
    private Integer snmpVersion;

    /**
     *  读团体名
     */
    private String readCom;

    /**
     * 写团体名
     */
    private String writeCom;

    /**
     * 设备录入/导入者
     */
    private String importer;

    /**
     * 设备销售者
     */
    private Integer salerflag;

    /**
     * 代维公司
     */
    private String repairComp;
    /**
     * 流程状态
     */
    private Integer flowSts;

    /**
     * 流程状态修改人
     */
    private String flowStsBy;

    /**
     * 流程状态时间
     */
    private Date flowStsDate;

    /**
     * 设备状态
     */
    private Integer status;

    /**
     * 设备状态修改人
     */
    private String statusBy;

    /**
     * 设备状态修改时间
     */
    private Date statusDate;

    /**
     *  创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改人
     */
    private String modifyBy;

    /**
     * 虚拟设备表主键id
     */
    private Long dId;

    /**
     * 虚拟设备编号
     */
    private String deviceId;

    /**
     * ssid
     */
    private String ssid;

    /**
     * 设备所属商户编号
     */
    private Long merchantId;

    /**
     * 工程编号
     */
    private Long projectId;

    /**
     * 设备时长上限
     */
    private Long minsLimit;

    /**
     * 设备流程上限
     */
    private Long trafficLimit;

    /**
     * 联网模式
     */
    private String wanProtocol;

    /**
     *  父设备名称
     */
    private String parEntityName;

    /**
     * 热点名称
     */
    private String hotareaName;

    /**
     * 省名称
     */
    private String provinceText;

    /**
     * 市名称
     */
    private String cityText;

    /**
     * 区名称
     */
    private String countyText;

    /**
     * 激活状态
     */
    private Integer activateStatus;

    /**
     * 归属系统
     */
    private String belongto;

    /**
     * 平台服务地址
     */
    private String platformServer;

    /**
     * portal服务地址
     */
    private String portalServer;

    /**
     * 认证服务地址
     */
    private String authServer;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParId() {
        return parId;
    }

    public void setParId(String parId) {
        this.parId = parId;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public Integer getEntityType() {
        return entityType;
    }

    public void setEntityType(Integer entityType) {
        this.entityType = entityType;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getOutTypeId() {
        return outTypeId;
    }

    public void setOutTypeId(String outTypeId) {
        this.outTypeId = outTypeId;
    }

    public String getEntityOutId() {
        return entityOutId;
    }

    public void setEntityOutId(String entityOutId) {
        this.entityOutId = entityOutId;
    }

    public String getHotareaId() {
        return hotareaId;
    }

    public void setHotareaId(String hotareaId) {
        this.hotareaId = hotareaId;
    }

    public String getAcpoolId() {
        return acpoolId;
    }

    public void setAcpoolId(String acpoolId) {
        this.acpoolId = acpoolId;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getCorporationText() {
        return corporationText;
    }

    public void setCorporationText(String corporationText) {
        this.corporationText = corporationText;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getModelText() {
        return modelText;
    }

    public void setModelText(String modelText) {
        this.modelText = modelText;
    }

    public String getFwVersion() {
        return fwVersion;
    }

    public void setFwVersion(String fwVersion) {
        this.fwVersion = fwVersion;
    }

    public String getCpVersion() {
        return cpVersion;
    }

    public void setCpVersion(String cpVersion) {
        this.cpVersion = cpVersion;
    }

    public String getPinCode() {
        return pinCode;
    }

    public void setPinCode(String pinCode) {
        this.pinCode = pinCode;
    }

    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getMaxBw() {
        return maxBw;
    }

    public void setMaxBw(String maxBw) {
        this.maxBw = maxBw;
    }

    public String getMaxCapc() {
        return maxCapc;
    }

    public void setMaxCapc(String maxCapc) {
        this.maxCapc = maxCapc;
    }

    public String getMaxDevconn() {
        return maxDevconn;
    }

    public void setMaxDevconn(String maxDevconn) {
        this.maxDevconn = maxDevconn;
    }

    public String getMaxStaconn() {
        return maxStaconn;
    }

    public void setMaxStaconn(String maxStaconn) {
        this.maxStaconn = maxStaconn;
    }

    public String getMacAddr() {
        return macAddr;
    }

    public void setMacAddr(String macAddr) {
        this.macAddr = macAddr;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getCounty() {
        return county;
    }

    public void setCounty(Integer county) {
        this.county = county;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public BigDecimal getXpos() {
        return xpos;
    }

    public void setXpos(BigDecimal xpos) {
        this.xpos = xpos;
    }

    public BigDecimal getYpos() {
        return ypos;
    }

    public void setYpos(BigDecimal ypos) {
        this.ypos = ypos;
    }

    public String getFixAddr() {
        return fixAddr;
    }

    public void setFixAddr(String fixAddr) {
        this.fixAddr = fixAddr;
    }

    public String getEntityAddrType() {
        return entityAddrType;
    }

    public void setEntityAddrType(String entityAddrType) {
        this.entityAddrType = entityAddrType;
    }

    public String getCoverage() {
        return coverage;
    }

    public void setCoverage(String coverage) {
        this.coverage = coverage;
    }

    public Integer getIsCollected() {
        return isCollected;
    }

    public void setIsCollected(Integer isCollected) {
        this.isCollected = isCollected;
    }

    public Integer getSnmpVersion() {
        return snmpVersion;
    }

    public void setSnmpVersion(Integer snmpVersion) {
        this.snmpVersion = snmpVersion;
    }

    public String getReadCom() {
        return readCom;
    }

    public void setReadCom(String readCom) {
        this.readCom = readCom;
    }

    public String getWriteCom() {
        return writeCom;
    }

    public void setWriteCom(String writeCom) {
        this.writeCom = writeCom;
    }

    public String getImporter() {
        return importer;
    }

    public void setImporter(String importer) {
        this.importer = importer;
    }

    public Integer getSalerflag() {
        return salerflag;
    }

    public void setSalerflag(Integer salerflag) {
        this.salerflag = salerflag;
    }

    public String getRepairComp() {
        return repairComp;
    }

    public void setRepairComp(String repairComp) {
        this.repairComp = repairComp;
    }

    public Integer getFlowSts() {
        return flowSts;
    }

    public void setFlowSts(Integer flowSts) {
        this.flowSts = flowSts;
    }

    public String getFlowStsBy() {
        return flowStsBy;
    }

    public void setFlowStsBy(String flowStsBy) {
        this.flowStsBy = flowStsBy;
    }

    public Date getFlowStsDate() {
        return flowStsDate;
    }

    public void setFlowStsDate(Date flowStsDate) {
        this.flowStsDate = flowStsDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusBy() {
        return statusBy;
    }

    public void setStatusBy(String statusBy) {
        this.statusBy = statusBy;
    }

    public Date getStatusDate() {
        return statusDate;
    }

    public void setStatusDate(Date statusDate) {
        this.statusDate = statusDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Long getdId() {
        return dId;
    }

    public void setdId(Long dId) {
        this.dId = dId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSsid() {
        return ssid;
    }

    public void setSsid(String ssid) {
        this.ssid = ssid;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getMinsLimit() {
        return minsLimit;
    }

    public void setMinsLimit(Long minsLimit) {
        this.minsLimit = minsLimit;
    }

    public Long getTrafficLimit() {
        return trafficLimit;
    }

    public void setTrafficLimit(Long trafficLimit) {
        this.trafficLimit = trafficLimit;
    }

    public String getWanProtocol() {
        return wanProtocol;
    }

    public void setWanProtocol(String wanProtocol) {
        this.wanProtocol = wanProtocol;
    }

    public String getParEntityName() {
        return parEntityName;
    }

    public void setParEntityName(String parEntityName) {
        this.parEntityName = parEntityName;
    }

    public String getHotareaName() {
        return hotareaName;
    }

    public void setHotareaName(String hotareaName) {
        this.hotareaName = hotareaName;
    }

    public String getProvinceText() {
        return provinceText;
    }

    public void setProvinceText(String provinceText) {
        this.provinceText = provinceText;
    }

    public String getCityText() {
        return cityText;
    }

    public void setCityText(String cityText) {
        this.cityText = cityText;
    }

    public String getCountyText() {
        return countyText;
    }

    public void setCountyText(String countyText) {
        this.countyText = countyText;
    }

    public Integer getActivateStatus() {
        return activateStatus;
    }

    public void setActivateStatus(Integer activateStatus) {
        this.activateStatus = activateStatus;
    }

    public String getBelongto() {
        return belongto;
    }

    public void setBelongto(String belongto) {
        this.belongto = belongto;
    }

    public String getPlatformServer() {
        return platformServer;
    }

    public void setPlatformServer(String platformServer) {
        this.platformServer = platformServer;
    }

    public String getPortalServer() {
        return portalServer;
    }

    public void setPortalServer(String portalServer) {
        this.portalServer = portalServer;
    }

    public String getAuthServer() {
        return authServer;
    }

    public void setAuthServer(String authServer) {
        this.authServer = authServer;
    }

    @Override
    public String toString() {
        return "DevInfoDTO{" +
                "id='" + id + '\'' +
                ", parId='" + parId + '\'' +
                ", batchNum='" + batchNum + '\'' +
                ", entityType=" + entityType +
                ", entityName='" + entityName + '\'' +
                ", outTypeId='" + outTypeId + '\'' +
                ", entityOutId='" + entityOutId + '\'' +
                ", hotareaId='" + hotareaId + '\'' +
                ", acpoolId='" + acpoolId + '\'' +
                ", corporation='" + corporation + '\'' +
                ", corporationText='" + corporationText + '\'' +
                ", model='" + model + '\'' +
                ", modelText='" + modelText + '\'' +
                ", fwVersion='" + fwVersion + '\'' +
                ", cpVersion='" + cpVersion + '\'' +
                ", pinCode='" + pinCode + '\'' +
                ", ipAddr='" + ipAddr + '\'' +
                ", port='" + port + '\'' +
                ", maxBw='" + maxBw + '\'' +
                ", maxCapc='" + maxCapc + '\'' +
                ", maxDevconn='" + maxDevconn + '\'' +
                ", maxStaconn='" + maxStaconn + '\'' +
                ", macAddr='" + macAddr + '\'' +
                ", province=" + province +
                ", city=" + city +
                ", county=" + county +
                ", district='" + district + '\'' +
                ", xpos=" + xpos +
                ", ypos=" + ypos +
                ", fixAddr='" + fixAddr + '\'' +
                ", entityAddrType='" + entityAddrType + '\'' +
                ", coverage='" + coverage + '\'' +
                ", isCollected=" + isCollected +
                ", snmpVersion=" + snmpVersion +
                ", readCom='" + readCom + '\'' +
                ", writeCom='" + writeCom + '\'' +
                ", importer='" + importer + '\'' +
                ", salerflag=" + salerflag +
                ", repairComp='" + repairComp + '\'' +
                ", flowSts=" + flowSts +
                ", flowStsBy='" + flowStsBy + '\'' +
                ", flowStsDate=" + flowStsDate +
                ", status=" + status +
                ", statusBy='" + statusBy + '\'' +
                ", statusDate=" + statusDate +
                ", createBy='" + createBy + '\'' +
                ", createDate=" + createDate +
                ", modifyBy='" + modifyBy + '\'' +
                ", dId=" + dId +
                ", deviceId='" + deviceId + '\'' +
                ", ssid='" + ssid + '\'' +
                ", merchantId=" + merchantId +
                ", projectId=" + projectId +
                ", minsLimit=" + minsLimit +
                ", trafficLimit=" + trafficLimit +
                ", wanProtocol='" + wanProtocol + '\'' +
                ", parEntityName='" + parEntityName + '\'' +
                ", hotareaName='" + hotareaName + '\'' +
                ", provinceText='" + provinceText + '\'' +
                ", cityText='" + cityText + '\'' +
                ", countyText='" + countyText + '\'' +
                ", activateStatus=" + activateStatus +
                ", belongto='" + belongto + '\'' +
                ", platformServer='" + platformServer + '\'' +
                ", portalServer='" + portalServer + '\'' +
                ", authServer='" + authServer + '\'' +
                '}';
    }
}
